
const { Classify,Good } = require('../utils/db')

exports.add_classify = (data) => {
  const position = new Classify(data)
  return position.save()
}
exports.good_detail = (data) => {
  return Good.find({id:data.id})
}
exports.classifyList = () => {
  return Classify.find()
}